package com.sc.nft.controller.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.PayChannelEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author Jozu
 * @since 2024/10/28 16:08
 */
@Data
public class PayWalletDetailRequest extends PageRequest {
    @ApiModelProperty(value = "支付渠道",required = true,allowableValues = "SAND,LL_PAY,HNA_PAY")
    @NotNull(message = "支付渠道不能为空")
    private PayChannelEnum payChannelEnum;


    @ApiModelProperty(value = "查询开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;


    @ApiModelProperty(value = "查询结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date finishTime;

    @ApiModelProperty(value = "变动类型0-入账，1-出账 不传则全部")
    private Integer changeType;

}
